package crawler;

//klasa odpowiedzialna za uruchomienie pewnej ilości crawlerów
public class CrawlerClient extends Thread {
	
	private int _port;
	private String _address;
	private int _numberOfCrawlers;
	public CrawlerClient(int port,String address,int numberOfCrawlers){
		this._port=port;
		this._address=address;
		this._numberOfCrawlers=numberOfCrawlers;
	}
	
	public void run()
	{
		for(int i=0;i<this._numberOfCrawlers;i++){
		new Crawler(this._port,this._address).start();
		}
	}
}
